import * as types from "./types";
//更改状态的逻辑，同步操作
//组件中用$store.commit 来触发
var mutations={
    [types.SHOW_LOADING] (state,item){
        state.ajax_loading = true;
    },
    [types.HIDE_LOADING] (state){
        state.ajax_loading = false;
    },
    SetExpress(state,item){
    	state.express=item.data;
    }
}

export default mutations;